package com.lucas.demo.template;

/**
 * @author Lucas
 * @date 2021/7/29 下午6:25
 */
public class TemplatePatternDemo {

    public static void main(String[] args) {

        Game game = new Cricket();
        game.play();
        System.out.println();
        game = new Football();
        game.play();
    }
}
